<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Compound Module <i>Ieee802154Host</i></h2>
<b>Package:</b> mixnet.nodes<br/><b>File: <a href="src-nodes-Ieee802154Host.ned.html">src/nodes/Ieee802154Host.ned</a></b><br/>
<p>This host is an example on how a host with INET network stack
can be equipped with mobility- and wireless-modules from MiXiM. </p>
<p>It contains an INET network stack and a MiXiM 802.15.4 NIC (TI_CC2420)
(connected by the <a href="mixnet.modules.MixnetBridge.html">MixnetBridge</a> module), a mobility-module from MiXiM
as well as a battery module from MiXiM which is used by the NIC.</p>
<p>This host's NIC is able to operate in a multi-ConnectionManager
network, i.e. more than one physical network in parallel (non-interfering).</p>
<img src="mixnet.nodes.Ieee802154Host-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html" title="BatteryStats" alt="BatteryStats" coords="22,122,102,183">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html" title="SimpleBattery" alt="SimpleBattery" coords="39,192,86,253">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseUtility.html" title="BaseUtility" alt="BaseUtility" coords="129,57,173,118">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.IBaseMobility.html" title="IBaseMobility" alt="IBaseMobility" coords="122,144,176,205">
<area shape="rect" href="../../../inet/doc/neddoc/inet.base.NotificationBoard.html" title="NotificationBoard" alt="NotificationBoard" coords="7,57,118,118">
<area shape="rect" href="../../../inet/doc/neddoc/inet.networklayer.common.InterfaceTable.html" title="InterfaceTable" alt="InterfaceTable" coords="16,291,108,352">
<area shape="rect" href="../../../inet/doc/neddoc/inet.networklayer.ipv4.RoutingTable.html" title="RoutingTable" alt="RoutingTable" coords="22,362,102,423">
<area shape="rect" href="../../../inet/doc/neddoc/inet.applications.tcpapp.TCPApp.html" title="TCPApp" alt="TCPApp" coords="165,83,302,144">
<area shape="rect" href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html" title="TCP" alt="TCP" coords="213,170,257,231">
<area shape="rect" href="../../../inet/doc/neddoc/inet.applications.udpapp.UDPApp.html" title="UDPApp" alt="UDPApp" coords="317,83,463,144">
<area shape="rect" href="../../../inet/doc/neddoc/inet.transport.udp.UDP.html" title="UDP" alt="UDP" coords="370,170,414,231">
<area shape="rect" href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html" title="PingApp" alt="PingApp" coords="207,239,260,300">
<area shape="rect" href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html" title="NetworkLayer" alt="NetworkLayer" coords="274,263,363,324">
<area shape="rect" href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPPInterface.html" title="PPPInterface" alt="PPPInterface" coords="261,424,376,485">
<area shape="rect" href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html" title="EthernetInterface" alt="EthernetInterface" coords="352,443,461,504">
<area shape="rect" href="mixnet.modules.MixnetBridge.html" title="MixnetBridge" alt="MixnetBridge" coords="199,348,243,409">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html" title="Nic802154_TI_CC2420" alt="Nic802154_TI_CC2420" coords="197,443,250,504">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="mixnet.nodes.Ieee802154Host-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="mixnet.nodes.Ieee802154Host.html" title="Compound Module Ieee802154Host" alt="" coords="975,83,1092,111">
<area shape="rect" id="node2" href="../../../inet/doc/neddoc/inet.base.NotificationBoard.html" title="Simple Module NotificationBoard" alt="" coords="5,161,128,189">
<area shape="rect" id="node4" href="../../../inet/doc/neddoc/inet.applications.udpapp.UDPApp.html" title="Module Interface UDPApp" alt="" coords="152,161,227,189">
<area shape="rect" id="node6" href="../../../inet/doc/neddoc/inet.transport.udp.UDP.html" title="Simple Module UDP" alt="" coords="251,161,323,189">
<area shape="rect" id="node8" href="ned.IdealChannel.html" title="Channel IdealChannel" alt="" coords="347,161,445,189">
<area shape="rect" id="node10" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html" title="Simple Module SimpleBattery" alt="" coords="469,161,573,189">
<area shape="rect" id="node12" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.IBaseMobility.html" title="Module Interface IBaseMobility" alt="" coords="597,161,699,189">
<area shape="rect" id="node14" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html" title="Simple Module BatteryStats" alt="" coords="723,161,816,189">
<area shape="rect" id="node16" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseUtility.html" title="Simple Module BaseUtility" alt="" coords="840,161,925,189">
<area shape="rect" id="node18" href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html" title="Simple Module PingApp" alt="" coords="949,161,1021,189">
<area shape="rect" id="node20" href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html" title="Simple Module TCP" alt="" coords="1045,161,1117,189">
<area shape="rect" id="node22" href="../../../inet/doc/neddoc/inet.applications.tcpapp.TCPApp.html" title="Module Interface TCPApp" alt="" coords="1141,161,1213,189">
<area shape="rect" id="node24" href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html" title="Compound Module Nic802154_TI_CC2420" alt="" coords="1237,161,1395,189">
<area shape="rect" id="node26" href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html" title="Compound Module EthernetInterface" alt="" coords="1419,161,1541,189">
<area shape="rect" id="node28" href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html" title="Compound Module NetworkLayer" alt="" coords="1565,161,1667,189">
<area shape="rect" id="node30" href="../../../inet/doc/neddoc/inet.networklayer.common.InterfaceTable.html" title="Simple Module InterfaceTable" alt="" coords="1691,161,1795,189">
<area shape="rect" id="node32" href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPPInterface.html" title="Compound Module PPPInterface" alt="" coords="1819,161,1917,189">
<area shape="rect" id="node34" href="../../../inet/doc/neddoc/inet.networklayer.ipv4.RoutingTable.html" title="Simple Module RoutingTable" alt="" coords="1941,161,2040,189">
<area shape="rect" id="node36" href="mixnet.modules.MixnetBridge.html" title="Simple Module MixnetBridge" alt="" coords="2064,161,2163,189">
<area shape="rect" id="node38" href="mixnet.examples.hybrid.Hybrid.html" title="Network Hybrid" alt="" coords="997,6,1069,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="mixnet.nodes.Ieee802154Host-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="mixnet.nodes.Ieee802154Host.html" title="Compound Module Ieee802154Host" alt="" coords="5,6,123,34">
</map>
<h3 class="subtitle">Networks:</h3>
<table>
<tr>
   <td>
      <a href="mixnet.examples.hybrid.Hybrid.html">Hybrid</a>
      <i> (network)</i>
   </td>
   <td>

<p>Network for testing a hybrid host (hybridRouter) containing different wired
(from INET) and wireless (from MiXiM) NICs.</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">numTcpApps</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">numUdpApps</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">tcpAppType</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">udpAppType</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">IPForward</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">routingFile</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>   </td>
</tr>
<tr class="local">
   <td width="150">mobilityType</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"BaseMobility"</td>
   <td>   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">node</td>
   <td width="100"><i></i></td>
   <td></td>
</tr>
<tr>
   <td width="150">labels</td>
   <td width="100"><i>node</i></td>
   <td></td>
</tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=device/wifilaptop;bgb=462,483</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Gates:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Direction</th>
      <th>Size</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">pppg [ ]</xsl:if></td>
   <td width="100"><i>inout</i></td>
   <td width="50"></td>   <td></td>
</tr>
<tr class="local">
   <td width="150">ethg [ ]</xsl:if></td>
   <td width="100"><i>inout</i></td>
   <td width="50"></td>   <td></td>
</tr>
<tr class="local">
   <td width="150">radioIn</xsl:if></td>
   <td width="100"><i>input</i></td>
   <td width="50"></td>   <td></td>
</tr>
</table>
<h3 class="subtitle">Unassigned submodule parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>write per-activity and per-device statistics to omnetpp.sca
(if false, only total energy and lifetime are written)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.detail</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>subscribe to battery status and record time series
data in omnetpp.vec (resolution depends on battery's 
publishDelta)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.timeSeries</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.nominal</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.capacity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.voltage</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal voltage</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.resolution</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>capacity is updated at least every resolution time</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishDelta</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>if &gt; 0, capacity is published to the BB each publishTime 
interval</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of modules that will draw energy from the 
battery</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.numDevices</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseUtility.html">utility</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the base framework</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.IBaseMobility.html">mobility</a>.x</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>x coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.IBaseMobility.html">mobility</a>.y</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>y coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.IBaseMobility.html">mobility</a>.z</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>z coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.advertisedWindow</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">14*this.mss</td>
   <td>
<p>in bytes, corresponds with the maximal receiver buffer capacity (Note: normally, NIC queues should be at least this size)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.delayedAcksEnabled</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>delayed ACK algorithm (RFC 1122) enabled/disabled</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.nagleEnabled</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>Nagle's algorithm (RFC 896) enabled/disabled</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.limitedTransmitEnabled</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>Limited Transmit algorithm (RFC 3042) enabled/disabled (can be used for TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.increasedIWEnabled</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>Increased Initial Window (RFC 3390) enabled/disabled</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.sackSupport</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>Selective Acknowledgment (RFC 2018, 2883, 3517) support (header option) (SACK will be enabled for a connection if both endpoints support it)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.windowScalingSupport</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>Window Scale (RFC 1323) support (header option) (WS will be enabled for a connection if both endpoints support it)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.timestampSupport</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>Timestamps (RFC 1323) support (header option) (TS will be enabled for a connection if both endpoints support it)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.mss</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">536</td>
   <td>
<p>Maximum Segment Size (RFC 793) (header option)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.tcpAlgorithmClass</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"TCPReno"</td>
   <td>
<p>TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl/DumbTCP</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.sendQueueClass</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"TCPVirtualDataSendQueue"</td>
   <td>
<p>TCPVirtualDataSendQueue/TCPMsgBasedSendQueue</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.receiveQueueClass</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"TCPVirtualDataRcvQueue"</td>
   <td>
<p>TCPVirtualDataRcvQueue/TCPMsgBasedRcvQueue</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.transport.tcp.TCP.html">tcp</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>recording of seqNum etc. into output vectors enabled/disabled</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.destAddr</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>
<p>destination IP or IPv6 address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.srcAddr</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>
<p>source IP or IPv6 address (useful with multi-homing)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.packetSize</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">56B</td>
   <td>
<p>of ping payload, in bytes</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.interval</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1s</td>
   <td>
<p>time to wait between pings (can be random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.hopLimit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">32</td>
   <td>
<p>TTL or hopLimit for IP packets</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.count</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
<p>stop after count ping requests, 0 means continuously</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.startTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">uniform(0s,this.interval)</td>
   <td>
<p>send first ping at startTime</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.stopTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0s</td>
   <td>
<p>send no pings after stopTime, 0 means forever</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.applications.pingapp.PingApp.html">pingApp</a>.printPing</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>dump on stdout</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.ipv4.IP.html">ip</a>.procDelay</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0s</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.arp.ARP.html">arp</a>.retryTimeout</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1s</td>
   <td>
<p>number seconds ARP waits between retries to resolve an IP address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.arp.ARP.html">arp</a>.retryCount</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">3</td>
   <td>
<p>number of times ARP will attempt to resolve an IP address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.arp.ARP.html">arp</a>.cacheTimeout</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">120s</td>
   <td>
<p>number seconds unused entries in the cache will time out</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPPInterface.html">ppp</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPP.html">ppp</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">4470</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.promiscuous</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>if true, all packets are received, otherwise only the
ones with matching destination MAC address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.address</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"auto"</td>
   <td>
<p>MAC address as hex string (12 hex digits), or
"auto". "auto" values will be replaced by
a generated MAC address in init stage 0.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.txrate</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100Mbps</td>
   <td>
<p>maximum data rate supported by this station (bit/s);
actually chosen speed may be lower due to auto-
configuration. 0 means fully auto-configured.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.duplexEnabled</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>whether duplex mode can be enabled or not; whether
MAC will actually use duplex mode depends on the result
of the auto-configuration process (duplex is only
possible with DTE-to-DTE connection).</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1500</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">bridge</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">bridge</a>.address</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"auto"</td>
   <td>
<p>The INET MAC-address for this bridge's NIC</p>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">bridge</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1500</td>
   <td>
<p>The maximum transmission unit for this bridge's NIC</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable/disable tracking of statistics (eg. cOutvectors)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.usePropagationDelay</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>Should transmission delay be simulated?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.useThermalNoise</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>should thermal noise be considered?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.analogueModels</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the analogue models to use and their parameters</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.sensitivity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The sensitivity of the physical layer [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.maxTXPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The maximum transimission power of the physical layer [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioState</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>state the radio is initially in</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMinAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.0</td>
   <td>
<p>radios gain factor (attenuation) while receiving</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMaxAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0.0</td>
   <td>
<p>radios gain factor (attenuation) while not receiving</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.nbRadioChannels</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1</td>
   <td>
<p>Number of available radio channels. Defaults to single channel radio.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioChannel</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>Initial radio channel.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.numActivities</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">5</td>
   <td>
<p>the number of different power consuming activities the phy layer has
change this parameter if your decider or physical layer uses more
than the default 5 activities (sleep, rx, tx, switching, decoding)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.stats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.trace</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.queueLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100</td>
   <td>
<p>size of the MAC queue (maximum number of packets in Tx buffer)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.txPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1 mW</td>
   <td>
<p>tx power [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.useMACAcks</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>Send/Expect MAC acks for unicast traffic?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMaxFrameRetries</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">3</td>
   <td>
<p>maximum number of frame retransmission
only used when usage of MAC acks is enabled</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMaxCSMABackoffs</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">4</td>
   <td>
<p>maximum backoffs</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.contentionWindow</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">2</td>
   <td>
<p># of backoff periods of the initial contention window
(for linear and constant backoff method only)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMinBE</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">3</td>
   <td>
<p>minimum backoff exponent (for exponential backoff method only)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMaxBE</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">5</td>
   <td>
<p>maximum backoff exponent (for exponential backoff method only)</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">// This host is an example on how a host with INET network stack
// can be equipped with mobility- and wireless-modules from MiXiM. 
//
// It contains an INET network stack and a MiXiM 802.15.4 NIC (TI_CC2420)
// (connected by the MixnetBridge module), a mobility-module from MiXiM
// as well as a battery module from MiXiM which is used by the NIC.
//
// This host's NIC is able to operate in a multi-ConnectionManager
// network, i.e. more than one physical network in parallel (non-interfering).
</span><span style="color: #800000; font-weight: bold; ">module</span><span style="color: #000000; "> </span><span style="color: #000000; ">Ieee802154Host</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000000; font-weight: bold; ">@node</span><span style="color: #000000; ">();
        </span><span style="color: #000000; font-weight: bold; ">@labels</span><span style="color: #000000; ">(</span><span style="color: #000000; ">node</span><span style="color: #000000; ">,</span><span style="color: #000000; ">ethernet</span><span style="color: #000000; ">-</span><span style="color: #000000; ">node</span><span style="color: #000000; ">,</span><span style="color: #000000; ">wireless</span><span style="color: #000000; ">-</span><span style="color: #000000; ">node</span><span style="color: #000000; ">);
        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;i=device/wifilaptop;bgb=462,483&quot;</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">numTcpApps</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">0</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">numUdpApps</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">0</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">tcpAppType</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;&quot;</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">udpAppType</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;&quot;</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">bool</span><span style="color: #000000; "> </span><span style="color: #000000; ">IPForward</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">false</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">routingFile</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;&quot;</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">mobilityType</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;BaseMobility&quot;</span><span style="color: #000000; ">);
    </span><span style="color: #800000; font-weight: bold; ">gates</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">inout</span><span style="color: #000000; "> </span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">[] </span><span style="color: #000000; font-weight: bold; ">@labels</span><span style="color: #000000; ">(</span><span style="color: #000000; ">PPPFrame</span><span style="color: #000000; ">-</span><span style="color: #000000; ">conn</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">inout</span><span style="color: #000000; "> </span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">[] </span><span style="color: #000000; font-weight: bold; ">@labels</span><span style="color: #000000; ">(</span><span style="color: #000000; ">EtherFrame</span><span style="color: #000000; ">-</span><span style="color: #000000; ">conn</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">radioIn</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@directIn</span><span style="color: #000000; ">;
    </span><span style="color: #800000; font-weight: bold; ">submodules</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">batteryStats</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BatteryStats</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,106;i=block/circle&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">battery</span><span style="color: #000000; ">: </span><span style="color: #000000; ">SimpleBattery</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,176;i=block/control&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">utility</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BaseUtility</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=147,41&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">mobility</span><span style="color: #000000; ">: &lt;</span><span style="color: #000000; ">mobilityType</span><span style="color: #000000; ">&gt; </span><span style="color: #800000; font-weight: bold; ">like</span><span style="color: #000000; "> </span><span style="color: #000000; ">IBaseMobility</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=147,128&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">notificationBoard</span><span style="color: #000000; ">: </span><span style="color: #000000; ">NotificationBoard</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,41&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">interfaceTable</span><span style="color: #000000; ">: </span><span style="color: #000000; ">InterfaceTable</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,275&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">routingTable</span><span style="color: #000000; ">: </span><span style="color: #000000; ">RoutingTable</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">IPForward</span><span style="color: #000000; "> = </span><span style="color: #000000; ">IPForward</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">routerId</span><span style="color: #000000; "> = </span><span style="color: #008000; ">&quot;&quot;</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">routingFile</span><span style="color: #000000; "> = </span><span style="color: #000000; ">routingFile</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,346&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">tcpApp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">numTcpApps</span><span style="color: #000000; ">]: &lt;</span><span style="color: #000000; ">tcpAppType</span><span style="color: #000000; ">&gt; </span><span style="color: #800000; font-weight: bold; ">like</span><span style="color: #000000; "> </span><span style="color: #000000; ">TCPApp</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=231,67&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">tcp</span><span style="color: #000000; ">: </span><span style="color: #000000; ">TCP</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=231,154&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">udpApp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">numUdpApps</span><span style="color: #000000; ">]: &lt;</span><span style="color: #000000; ">udpAppType</span><span style="color: #000000; ">&gt; </span><span style="color: #800000; font-weight: bold; ">like</span><span style="color: #000000; "> </span><span style="color: #000000; ">UDPApp</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=388,67&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">udp</span><span style="color: #000000; ">: </span><span style="color: #000000; ">UDP</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=388,154&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">pingApp</span><span style="color: #000000; ">: </span><span style="color: #000000; ">PingApp</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=231,223&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">: </span><span style="color: #000000; ">NetworkLayer</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">proxyARP</span><span style="color: #000000; "> = </span><span style="color: #008000; ">false</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=316,247;q=queue&quot;</span><span style="color: #000000; ">);
            </span><span style="color: #800000; font-weight: bold; ">gates</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))+</span><span style="color: #008000; ">1</span><span style="color: #000000; ">];
                </span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))+</span><span style="color: #008000; ">1</span><span style="color: #000000; ">];
        }
        </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)]: </span><span style="color: #000000; ">PPPInterface</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=316,408,row,90;q=txQueue&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">)]: </span><span style="color: #000000; ">EthernetInterface</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=404,427,row,90;q=txQueue&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">: </span><span style="color: #000000; ">MixnetBridge</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=217,332&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">: </span><span style="color: #000000; ">Nic802154_TI_CC2420</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=217,427;q=queue;i=block/ifcard&quot;</span><span style="color: #000000; ">);
        }

    </span><span style="color: #800000; font-weight: bold; ">connections</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">allowunconnected</span><span style="color: #000000; ">:
        </span><span style="color: #800000; font-weight: bold; ">for</span><span style="color: #000000; "> </span><span style="color: #000000; ">i</span><span style="color: #000000; ">=</span><span style="color: #008000; ">0</span><span style="color: #000000; ">..</span><span style="color: #000000; ">numTcpApps</span><span style="color: #000000; ">-</span><span style="color: #008000; ">1</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">tcpApp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">tcpOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">tcp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">appIn</span><span style="color: #000000; ">++;
            </span><span style="color: #000000; ">tcpApp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">tcpIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">tcp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">appOut</span><span style="color: #000000; ">++;
        }

        </span><span style="color: #000000; ">tcp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ipOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">tcpIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">tcp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ipIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">tcpOut</span><span style="color: #000000; ">;

        </span><span style="color: #800000; font-weight: bold; ">for</span><span style="color: #000000; "> </span><span style="color: #000000; ">i</span><span style="color: #000000; ">=</span><span style="color: #008000; ">0</span><span style="color: #000000; ">..</span><span style="color: #000000; ">numUdpApps</span><span style="color: #000000; ">-</span><span style="color: #008000; ">1</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">udpApp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">udpOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">udp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">appIn</span><span style="color: #000000; ">++;
            </span><span style="color: #000000; ">udpApp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">udpIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">udp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">appOut</span><span style="color: #000000; ">++;
        }

        </span><span style="color: #000000; ">udp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ipOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">udpIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">udp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ipIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">udpOut</span><span style="color: #000000; ">;

        </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">pingOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">pingApp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">pingIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">pingIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">pingApp</span><span style="color: #000000; ">.</span><span style="color: #000000; ">pingOut</span><span style="color: #000000; ">;

        </span><span style="color: #808080; font-style: italic; ">// connections to network outside
</span><span style="color: #000000; ">        </span><span style="color: #800000; font-weight: bold; ">for</span><span style="color: #000000; "> </span><span style="color: #000000; ">i</span><span style="color: #000000; ">=</span><span style="color: #008000; ">0</span><span style="color: #000000; ">..</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)-</span><span style="color: #008000; ">1</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">] </span><span style="color: #800000; font-weight: bold; ">&lt;--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">phys</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
            </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
        }

        </span><span style="color: #800000; font-weight: bold; ">for</span><span style="color: #000000; "> </span><span style="color: #000000; ">i</span><span style="color: #000000; ">=</span><span style="color: #008000; ">0</span><span style="color: #000000; ">..</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">)-</span><span style="color: #008000; ">1</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">] </span><span style="color: #800000; font-weight: bold; ">&lt;--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">phys</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
            </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
        }

        </span><span style="color: #000000; ">radioIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">radioIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))];
        </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))];

        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,25,50,25,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,15,50,15,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateOut</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,75,50,75,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,85,0,85,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">bridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlOut</span><span style="color: #000000; ">;
}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
